<template>
  <div class="app-container">
    <query :query-params="queryParams" @getList="getList"/>
    <customize-table ref="registeredTable" :query-params="queryParams" @handleInfo="handleInfo"/>
    <detail ref="registeredDetail" />
  </div>
</template>
<script>
import Query from './query'
import Detail from './detail'
import CustomizeTable from './table'

export default {
  name: 'Register',
  components: { Query, Detail, CustomizeTable },
  data() {
    return {
      // 遮罩层
      loading: true,
      disposalId: undefined,
      // 查询参数
      queryParams: {
        pageNum: 1,
        pageSize: 10
      }
    }
  },
  methods: {
    getList() {
      this.$refs.registeredTable.getList()
    },
    handleInfo(row) {
      this.$refs.registeredDetail.open(row.id)
    },
  }
}
</script>
<style>

</style>
